package yunjiao.javatutorials.mq.config;

import com.github.javafaker.Faker;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 本应用配置
 *
 * @author yangyunjiao
 */
@Slf4j
@Configuration(proxyBeanMethods = false)
public class AppConfig {

    @Bean
    Faker Faker() {
        Faker bean = new Faker();
        log.info(">>>> Faker : {}", bean);
        return bean;
    }

}
